package com.xing.msmServer.utils;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;


/**
 * 常量属性工具类
 *
 * @author: xingfuhao
 * @create: 2022-03-28 22:46
 */
@Component
@ConfigurationProperties(prefix = "aliyunsms")
public class ConstantPropertiesUtilss {

//    @Value("${aliyun.sms.regionId}"
    /**
     * 区域id
     */
    private String regionId;

//    @Value("${aliyun.sms.accesskeyId}")

    /**
     * 访问秘钥id
     */
    private String accessKeyId;

//    @Value("${aliyun.sms.secret}")
    /**
     * 秘钥
     */
    private String secret;

    public String getRegionId() {
        return regionId;
    }

    public void setRegionId(String regionId) {
        this.regionId = regionId;
    }

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }
}
